import { Behaviour, HitTestScript } from "../gameengine";
import { marshal, MarshalShuomingState } from "../Marshal";

export class StartUIshuomingBehaviour extends Behaviour {

    protected onStart() {

        this.displayObject.getScript(HitTestScript).onClick = () => {
            marshal.changeState(new MarshalShuomingState());
        }

    }

    protected onUpdate(advancedTime: number) {

    }



}